package cn.edu.zut.cs.DAO;

import cn.edu.zut.cs.Model.Book;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
public interface BookDAO {
    void insertBook(Book book);
    void modifyBook(Book book);
    Book queryOneBook(String id);
    List<Book> queryAll();
}
